<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <title>Title</title>
    <link href="reset.css" rel="stylesheet" />
    <style>
      .book-recommend {
        width: 750px;
        margin: 100px auto 0px;
      }
      .book-recommend .header {
        border-bottom: 1px solid gray;
        background-image: url("img/laba.jpg");
        background-repeat: no-repeat;
        background-position: 0px 8px;
        display: flex;
      }
      .book-recommend .header div {
        padding-top: 6px;
        padding-right: 6px;
        font-size: 16px;
      }
      .book-recommend .header div span {
        color: red;
      }
      .book-recommend .header h2 {
        margin-right: auto;
        font-size: 22px;
        font-weight: bold;
        padding-left: 20px;
        padding-bottom: 8px;
      }
      .content {
        padding-top: 10px;
      }

      .content div {
        text-align: left;
        padding-left: 30px;
        line-height: 32px;
      }
      .content ul {
        display: flex;
        flex-wrap: wrap;
      }
      .content li {
        width: 187px;
        text-align: center;
      }
      .content .price {
        margin-top: -10px;
        margin-bottom: 20px;
        font-size: 14px;
      }

      .content .price .discount {
        color: red;
        font-weight: bold;
        margin-right: 6px;
      }

      .content .price .origin-price {
        color: gray;
        text-decoration: line-through;
      }
      .content .author {
        color: gray;
      }

      .content li a {
        color: black;
      }
      .content li a:hover {
        color: orange;
        text-decoration: underline;
      }

      .content li img {
        max-width: 160px;
        height: 160px;
      }
    </style>
  </head>
  <body>
    <div class="book-recommend">
      <div class="header">
        <h2>推荐图书</h2>
        <div><span>1</span>/4</div>
      </div>
      <div class="content">
        <ul>
          <li>
            <img src="img/狼图腾.jpg" />
            <div><a href="#">狼图腾（修订版）</a></div>
            <div class="author">姜戎</div>
            <div class="price">
              <span class="discount">¥15.90</span>
              <span class="origin-price">¥39.80</span>
            </div>
          </li>
          <li>
            <img src="img/文化苦旅.jpg" />
            <div><a href="#">狼图腾（修订版）</a></div>
            <div class="author">姜戎</div>
            <div class="price">
              <span class="discount">¥15.90</span>
              <span class="origin-price">¥39.80</span>
            </div>
          </li>
          <li>
            <img src="img/平凡的世界.jpg" />
            <div><a href="#">狼图腾（修订版）</a></div>
            <div class="author">姜戎</div>
            <div class="price">
              <span class="discount">¥15.90</span>
              <span class="origin-price">¥39.80</span>
            </div>
          </li>
          <li>
            <img src="img/偷影子的人.jpg" />
            <div><a href="#">狼图腾（修订版）</a></div>
            <div class="author">姜戎</div>
            <div class="price">
              <span class="discount">¥15.90</span>
              <span class="origin-price">¥39.80</span>
            </div>
          </li>
          <li>
            <img src="img/狼图腾.jpg" />
            <div><a href="#">狼图腾（修订版）5</a></div>
            <div class="author">姜戎</div>
            <div class="price">
              <span class="discount">¥15.90</span>
              <span class="origin-price">¥39.80</span>
            </div>
          </li>
          <li>
            <img src="img/狼图腾.jpg" />
            <div><a href="#">狼图腾（修订版）6</a></div>
            <div class="author">姜戎</div>
            <div class="price">
              <span class="discount">¥15.90</span>
              <span class="origin-price">¥39.80</span>
            </div>
          </li>
          <li>
            <img src="img/蔡永康.jpg" />
            <div><a href="#">狼图腾（修订版）7</a></div>
            <div class="author">姜戎</div>
            <div class="price">
              <span class="discount">¥15.90</span>
              <span class="origin-price">¥39.80</span>
            </div>
          </li>
          <li>
            <img src="img/狼图腾.jpg" />
            <div><a href="#">狼图腾（修订版）</a></div>
            <div class="author">姜戎</div>
            <div class="price">
              <span class="discount">¥15.90</span>
              <span class="origin-price">¥39.80</span>
            </div>
          </li>
        </ul>
      </div>
    </div>
  </body>
</html>
